@charset "utf-8";
/* mask */
.ui-mask{
  position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    /* background: radial-gradient(black, transparent); */
}

/* confirm */
.ui-confirm{
  box-sizing: border-box;
}
.ui-confirm > .ui-confirm__content{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 640px;
  max-height: 300px;
  border-radius: 3px;
  z-index: 10000;
  background: #fff;
}
.ui-confirm  .ui-confirm__body{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 20px 20px;
  color: #666;
}
.ui-confirm .ui-confirm__icon{
  /* 原始大小 80x80 */
  width: 30px;
  height: 30px;
  margin-right: 8px;
}

.ui-confirm  .ui-confirm__footer{
  padding: 10px;
  text-align: center;
}

/* topTips */
.ui-top-tips{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2001;
  top: 54px;
  width: 100%;
  max-width: 640px;
  margin: auto;
  height: 42px; line-height: 42px;
  background-color: #FA5151;
  color: #fff;
  font-size: 14px;
  text-align: center;
}
.ui-top-tips.success{
  background-color: #3EB551;
}
.ui-top-tips.error{
  background-color: #FA5151;
}
.ui-top-tips.warn{
  background-color: #FFA000;
}
/* button */
.ui-btn{
  padding: 5px 15px;
  outline: none;
  border: 1px solid #eee;
  background: #fff;
  border-radius: 3px;
  cursor: pointer;
}
.ui-btn + .ui-btn{
  margin-left: 10px;
}
.ui-btn.ui-btn__primary{
  background: #636EF9;
  border-color: #636EF9;
  color: #fff;
}
.ui-btn.ui-btn__primary:hover{
  background: #5b65f5;
}
.ui-btn.ui-btn__warn{
  background: #da8d29;
  border-color: #da8d29;
  color: #fff;
}
.ui-btn.ui-btn__warn:hover{
  background: #cc8322;
}
.ui-btn.ui-btn__error{
  background: #FA5151;
  border-color: #FA5151;
  color: #fff;
}
.ui-btn.ui-btn__error:hover{
  background: #eb4848;
}
.ui-btn:hover{
  background: #eee;
}

/* loading */
.ui-loading-con {
  /* position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  background: url(../img/loading.png) center center no-repeat;
  animation: rotate infinite 2s ease-out; */
  position: absolute;
  margin: auto;
  top: 0; bottom: 0; left: 0; right: 0;
  width: 6.250em; height: 6.250em;
  font-size: 14px;
}
.ui-loading-con.loading-type-1{
  animation: rotate1 2.4s linear infinite;
}
.ui-loading-con.loading-type-2{
  /* width: 196px;
  height: 185px; */
  background: url(../img/l2s1.png) no-repeat center center;
  background-size: contain;
}

.ui-mc {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-top: 60px;
}
.ui-loading-text{
  color: #eeeef0;
  font-size: 12px;
  /* text-shadow: 0 1px rgba(0, 0, 0, 0.2); */
}
@keyframes rotate {
  from {
      transform: rotate(0);
  }
  to{
      transform: rotate(360deg);
  }
}
.white {
  top: 0; bottom: 0; left: 0; right: 0;
  background: white;
  animation: flash 2.4s linear infinite;
  opacity: 0;
}
.ui-loading-ani{
  height: 15px;
  background: url(../img/l2a.png) no-repeat center center;
  background-size: contain;
  position: relative;
  top: 15%;
  animation: ani 0.8s ease-out infinite alternate-reverse;

}
.ui-loading-dot {
  position: absolute;
  margin: auto;
  width: 2.4em; height: 2.4em;
  border-radius: 100%;
  transition: all 1s ease;
}
/* #fa9e78, #fa7878 */
.ui-loading-dot:nth-child(2) { top: 0; bottom: 0; right: 0; background: #ffffff; animation: dotsY 2.4s linear infinite; }
.ui-loading-dot:nth-child(3) { left: 0; right: 0; top: 0; background: #fa9e78; animation: dotsX 2.4s linear infinite; }
.ui-loading-dot:nth-child(4) { left: 0; right: 0; bottom: 0; background: #5F6AFA; animation: dotsX 2.4s linear infinite; }
.ui-loading-dot:nth-child(5) { top: 0; bottom: 0; left: 0; background: #78d5fa; animation: dotsY 2.4s linear infinite; }

@keyframes rotate1 {
  0% { transform: rotate( 0 ); }
  10% { width: 6.250em; height: 6.250em; }
  66% { width: 2.4em; height: 2.4em; }
  100%{ transform: rotate(360deg); width: 6.250em; height: 6.250em; }
}

@keyframes dotsY {
  66% { opacity: .1; width: 2.4em; }
  77%{ opacity: 1; width: 0; }
}
@keyframes dotsX {
  66% { opacity: .1; height: 2.4em;}
  77%{ opacity: 1; height: 0; }
}

@keyframes flash {
  33% { opacity: 0; border-radius: 0%; }
  55%{ opacity: .6; border-radius: 100%; }
  66%{ opacity: 0; }
}

@keyframes ani {
  0%{top: 15%;}
  100%{top: 60%;}
}

/**
 * ==============================================
 * Dot Windmill
 * ==============================================
 */
 .dot-windmill {
  position: relative;
  top: 40px;
  left: 35px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
  transform-origin: 5px 15px;
  animation: dot-windmill 2s infinite linear;
}

.dot-windmill::before, .dot-windmill::after {
  content: '';
  display: inline-block;
  position: absolute;
}

.dot-windmill::before {
  left: -8.66px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
}

.dot-windmill::after {
  left: 8.66px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
}

@keyframes dot-windmill {
  0% {
    transform: rotateZ(0deg) translate3d(0, 0, 0);
  }
  100% {
    transform: rotateZ(720deg) translate3d(0, 0, 0);
  }
}
